package com.schedualnew.mq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.schedualnew.mq.dto.exam.ExamApplyDto;
import com.schedualnew.mq.entity.ExamScheduleItem;
import com.schedualnew.mq.entity.vo.ExamScheduleItemVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author ljy aka ryan
 * @date 2022/6/15 15:31
 * @description TODO
 */
public interface ExamScheduleItemMapper extends BaseMapper<ExamScheduleItem> {


    /**
     * 根据申请单号获取预约时间
     *
     * @param applyNo
     * @return
     */
    ExamScheduleItemVo queryScheduledDate(@Param("applyNo") String applyNo);


    /**
     * 根据申请单号获取预约时间
     *
     * @param applyNo
     * @return
     */
    ExamApplyDto queryScheduledInfo(@Param("applyNo") String applyNo);

}
